/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ideastec.mipyme.model;

/**
 * Clase Padre de la cual deben extender todas las 
 * entidades persistibles
 * 
 * @author Diego Rafael Graf
 */
public class EntidadPersistible {
    
    private Long id;    
    private Long version = -1L;  //---> ver que es -1l
    private boolean lock;
    
    public Long getId(){
        return this.id;        
    }
    
    public void setId(Long id){
        this.id = id;
    }
    
    public Long getVersion(){
        return this.version;
    }
    
    public void setVersion(Long version){
        this.version = version;
    }
    
    public boolean getLock(){
        return this.lock;        
    }
    
    public void setLock(boolean lock){
        this.lock = lock;
    }
    
}
